<%@ include file="/common/taglibs.jsp"%>

<head>
    <title><fmt:message key="productIndex.title"/></title>
    <meta name="menu" content="ProductViewMenu"/>
</head>

<div id="contentArea">
    <div id="contentLeft">
        <s:iterator id="outter" value="productTypes">
            <h1>
                <s:property value="#outter.name"/> (<s:property value="#outter.shortName"/>)
            </h1>
            <p class="info"><s:property value="#outter.comments"/></p>

            <s:iterator id="inner" value="products.get(#outter.id)">
                <h2>
                    <a href="<c:url value="/viewProduct?productId="/><s:property value="#inner.id"/>" target="_blank">
                        <s:property value="#inner.name"/>
                    </a>
                </h2>
                <p><s:property value="#inner.comments"/></p>
            </s:iterator>
            <p align="right">
                <a href="<c:url value="/productMore?productTypeId="/><s:property value="#outter.id"/>">
                   <fmt:message key='productIndex.more'/>
                </a>
            </p>
            <br/>
        </s:iterator>
    </div>
    <div id="contentRight">
        Right Text<br/><br/>
        Right Text<br/><br/>
        Right Text<br/><br/>
        Right Text<br/><br/>
        Right Text<br/><br/>
    </div>
</div>
